package com.sopra.tecnica.poc.server.entity;

import javax.persistence.Column;
import javax.persistence.Table;

@Table(name = "client")
public class CustomerEntity extends AEntity<CustomerEntity> {

	@Column(name = "societe")
	private String company;
	
	@Column(name = "ncliv")
	private String code;
	
	@Column(name = "crepres")
	private String userCode;
	
	@Column(name = "raisoc")
	private String raisonSociale;
	
	@Column(name = "adresse")
	private String address;
	
	@Column(name = "cp")
	private String postalCode;
	
	@Column(name = "ville")
	private String city;
	
	private float latitude;
	
	private float longitude;

	public void setCompany(String company) {
		this.company = company;
	}

	public String getCompany() {
		return company;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getCode() {
		return code;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

	public String getUserCode() {
		return userCode;
	}

	public void setRaisonSociale(String raisonSociale) {
		this.raisonSociale = raisonSociale;
	}

	public String getRaisonSociale() {
		return raisonSociale;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getAddress() {
		return address;
	}

	public void setPostalCode(String postalCode) {
		this.postalCode = postalCode;
	}

	public String getPostalCode() {
		return postalCode;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getCity() {
		return city;
	}

	public void setLatitude(float latitude) {
		this.latitude = latitude;
	}

	public float getLatitude() {
		return latitude;
	}

	public void setLongitude(float longitude) {
		this.longitude = longitude;
	}

	public float getLongitude() {
		return longitude;
	}
}
